<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>1、固定定位小技巧，固定到版心右侧</title>
    <link rel="stylesheet" href="position.css">
 
</head>
<body>
    <!-- <div class="fixed"></div>
    <div class="w">版心盒子 800像素</div> -->




    <!-- 2、绝对定位水平垂直居中 -->
    <div class="box"></div>
</body>
</html>